<?php
/* Smarty version 3.1.30, created on 2017-11-04 02:23:48
  from "C:\ComsenzEXP\wwwroot\Moodblog\templete\default\index.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_59fd24b4881ea2_78037102',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '04467b7db70b5cb12eaca3ba7f1b612a348f00a9' => 
    array (
      0 => 'C:\\ComsenzEXP\\wwwroot\\Moodblog\\templete\\default\\index.html',
      1 => 1509762227,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_59fd24b4881ea2_78037102 (Smarty_Internal_Template $_smarty_tpl) {
?>
<html>
<head>
	<title><?php echo $_smarty_tpl->tpl_vars['sitetitle']->value;?>
</title>
</head>
<body>
	<div class="rightContent">
		<div class="centerContent">
			<div class="articleList">
				<div class="lasted"><span class="iconfont">&#xe6e3;</span>最新博文</div>
				<?php if ($_smarty_tpl->tpl_vars['toparticle']->value) {?>
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['toparticle']->value, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
?>
						<div class="articleCard">
						<?php if ($_smarty_tpl->tpl_vars['value']->value['titleimg']) {?>
							<div class="articlePic"><img src="source/picture/<?php echo $_smarty_tpl->tpl_vars['value']->value['titleimg'];?>
"></div>
						<?php }?>
						
						<div class="articleText" style="<?php if (!$_smarty_tpl->tpl_vars['value']->value['titleimg']) {?>width:637px<?php }?>">
							<h1><a href="view.php?article=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</a><img style="margin-left:8px;margin-top:3px;"src="templete/default/img/top.gif"/></h1>
							<p><?php echo $_smarty_tpl->tpl_vars['value']->value['content'];?>
</p>
							<div class="info">
							<div class="pubTime">发布于 <?php echo $_smarty_tpl->tpl_vars['value']->value['pubtime'];?>
</div>
							<div class="remark">
								<div class="remakePic iconfont">&#xe70d;</div>
								<a href="view.php?article=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
#remark">评论(<?php echo $_smarty_tpl->tpl_vars['value']->value['remarknum'];?>
)</a>
								
							</div>
							<div class="remark">
								<div class="viewsPic iconfont">&#xe6e4;</div>
								<a>阅读(<?php echo $_smarty_tpl->tpl_vars['value']->value['view'];?>
)</a>
								
							</div>
							</div>
						</div>
						</div>						
					<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

				<?php }?>
				<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['article']->value, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
?>
					<div class="articleCard">
					<?php if ($_smarty_tpl->tpl_vars['value']->value['titleimg']) {?>
						<div class="articlePic"><img src="source/picture/<?php echo $_smarty_tpl->tpl_vars['value']->value['titleimg'];?>
"></div>
					<?php }?>
					
					<div class="articleText" style="<?php if (!$_smarty_tpl->tpl_vars['value']->value['titleimg']) {?>width:637px<?php }?>">
						<h1><a href="view.php?article=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</a></h1>
						<p><?php echo $_smarty_tpl->tpl_vars['value']->value['content'];?>
</p>
						<div class="info">
						<div class="pubTime">发布于 <?php echo $_smarty_tpl->tpl_vars['value']->value['pubtime'];?>
</div>
						<div class="remark">
							<div class="remakePic iconfont">&#xe70d;</div>
							<a href="view.php?article=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
#remark">评论(<?php echo $_smarty_tpl->tpl_vars['value']->value['remarknum'];?>
)</a>
							
						</div>
						<div class="remark">
							<div class="viewsPic iconfont">&#xe6e4;</div>
							<a>阅读(<?php echo $_smarty_tpl->tpl_vars['value']->value['view'];?>
)</a>
							
						</div>
						</div>
					</div>
					</div>
				<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

				<div class="page">
					<?php if ($_smarty_tpl->tpl_vars['pagearr']->value[0] != 1) {?>
						<a class="pageNum" href="?<?php if ($_smarty_tpl->tpl_vars['type']->value) {?>type=<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
&<?php }?>page=1">首页</a>
					<?php }?>
					<?php if ($_smarty_tpl->tpl_vars['nowpage']->value-1 >= 1) {?>
						<a class="pageNum" href="?<?php if ($_smarty_tpl->tpl_vars['type']->value) {?>type=<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
&<?php }?>page=<?php echo $_smarty_tpl->tpl_vars['nowpage']->value-1;?>
">上一页</a>
					<?php }?>
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['pagearr']->value, 'values');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['values']->value) {
?>
						<a class="pageNum" style="<?php if ($_smarty_tpl->tpl_vars['values']->value == $_smarty_tpl->tpl_vars['nowpage']->value) {?>border-color:#38f<?php }?>" href="?<?php if ($_smarty_tpl->tpl_vars['type']->value) {?>type=<?php echo $_smarty_tpl->tpl_vars['type']->value-1;?>
&<?php }?>page=<?php echo $_smarty_tpl->tpl_vars['values']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['values']->value;?>
</a>
					<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

					<?php if ($_smarty_tpl->tpl_vars['nowpage']->value+1 <= $_smarty_tpl->tpl_vars['pagenum']->value) {?>
						<a class="pageNum" href="?<?php if ($_smarty_tpl->tpl_vars['type']->value) {?>type=<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
&<?php }?>page=<?php echo $_smarty_tpl->tpl_vars['nowpage']->value+1;?>
">下一页</a>
					<?php }?>
					<?php if ($_smarty_tpl->tpl_vars['values']->value < $_smarty_tpl->tpl_vars['pagenum']->value) {?>
						<a class="pageNum" href="?<?php if ($_smarty_tpl->tpl_vars['type']->value) {?>type=<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
&<?php }?>page=<?php echo $_smarty_tpl->tpl_vars['pagenum']->value;?>
">尾页</a>
					<?php }?>
							
				</div>
			</div>
			<div class="rightList">
				<div class="myInfo">
					<div class="meInfo">
						<img src="templete/<?php echo $_smarty_tpl->tpl_vars['templete']->value;?>
/img/head.jpg"></img>
						<div class="myName">
							<div class="nameTitle">个快快(木东)</div>
							<div class="myWork">
								<div class="workPic"></div>
								<div class="workText">喜欢记录文字的码农</div>
							</div>
						</div>
					</div>
					<p>生活中往往只能看到庸才<br>他们会麻痹你的思想，融化你的梦想<br>另一个空间，真正的强者正嘲笑你的迷茫<br>除了奋斗，我们还能选择什么</p>
					<div class="blogInfo">
						<div class="infoBlock">
							<div class="blgoInfoTitle">博文</div>
							<div class="blgoInfoNum"><?php echo $_smarty_tpl->tpl_vars['artnum']->value;?>
</div>
						</div>
						<div class="infoBlock">
							<div class="blgoInfoTitle">朋友</div>
							<div class="blgoInfoNum">0</div>
						</div>
						<div class="infoBlock">
							<div class="blgoInfoTitle">评论</div>
							<div class="blgoInfoNum"><?php echo $_smarty_tpl->tpl_vars['remarknum']->value;?>
</div>
						</div>
					</div>
					<div class="Button">
						<a class="emailButton" href="">找我</a>
						<a class="moreButton" href="">关于</a>
					</div>
				</div>

			<div class="myInfo">
				<h3>最新评论</h3>
				<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['remark']->value, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
?>
				<div class="remarkBlock">
					<div class="author">
					<img src="source/head/<?php echo $_smarty_tpl->tpl_vars['value']->value['headpic'];?>
"/>
					<div class="authorRight">
						<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>

					<div class="remarkTime">发布于 <?php echo $_smarty_tpl->tpl_vars['value']->value['time'];?>
</div>
					</div>
					</div>
					<div class="remarkContent"><?php echo $_smarty_tpl->tpl_vars['value']->value['content'];?>
</div>
				</div>
				<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

			</div>
			</div>
		</div>
	</div>
</body>
</html>

<?php }
}
